package cn.glutnn.entity;

import java.util.Date;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户信息(User)表实体类
 *
 * @author msh
 * @since 2024-12-09 19:55:26
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    //主键
    @TableId
    private Integer id;

    //用户权限
    private String role;
    // 用户名
    private String username;
    // 昵称
    private String nickname;
    // 密码
    private String password;
    //手机号
    private String phone;
    //性别
    private String sex;
    //身份证号
    private String idNumber;
    //头像
    private String avatar;
    // 等级id
    private Integer membershipLevelId;
    // 积分
    private Integer points;
    //创建时间
    private Date createTime;
    //最后登录时间
    private Date lastLoginTime;
    //更新时间
    private Date updateTime;

}

